<script setup lang="ts">
import { FFSchema } from 'fate-element/lib/components/fate-form/fform.types';

const schema: FFSchema = {
  properties: {
    name: {
      type: 'string',
      title: '姓名'
    },
    age: {
      type: 'number',
      title: '年龄'
    }
  },
  required: ['name']
};
</script>

<template>
  <FForm :schema="schema" inline label-width="60px" />
</template>

<style scoped></style>
